package ua.com.mind_tree.client.experience;

import java.util.Date;
import java.util.List;

/**
 * @author suamo ( 01.05.12 1:38 )
 */
public class Experience {
    private String name;
    private String creator;
    private ExperienceType type;
    private List<Tag> tags;
    private Experience parent;
    private Date addingDate;

    public Experience() {
    }

    public Experience(String name, String creator, ExperienceType type, List<Tag> tags, Experience parent, Date addingDate) {
        this.name = name;
        this.creator = creator;
        this.type = type;
        this.tags = tags;
        this.parent = parent;
        this.addingDate = addingDate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public ExperienceType getType() {
        return type;
    }

    public void setType(ExperienceType type) {
        this.type = type;
    }

    public List<Tag> getTags() {
        return tags;
    }

    public void setTags(List<Tag> tags) {
        this.tags = tags;
    }

    public Experience getParent() {
        return parent;
    }

    public void setParent(Experience parent) {
        this.parent = parent;
    }

    public Date getAddingDate() {
        return addingDate;
    }

    public void setAddingDate(Date addingDate) {
        this.addingDate = addingDate;
    }
}
